
export interface LoginParams {
    username: string
    password: string
}

// 登录响应结果
export interface LoginResult {
    userId:  number
    accessToken: string
    refreshToken: string
}

export interface PermissionUserInfo {
    user:  UserInfo
    permissions:  string[]
    roles:  string[]
}

export interface UserInfo {
    username: string
    avatar: string
    roles: string[]
}